// 患者管理

export default {
    'GET /api/patients/list': {
        code: 0,
        data: {
            page: 1,
            data: [
                { name: '张三', id: 'LS11234', jq: 1, age: 30, sex: 'man', birth: '1994-07-07', marriage: '', nation: '河北省保定市', address: '河北软件职业技术学院' },
                { name: '李四', id: '333501', jq: 2, age: 32, sex: 'woman', birth: '1994-07-07', marriage: '', nation: '河北省保定市', address: '河北软件职业技术学院' },
            ],
            success: true,
            total: 2,
        }
    },
    'GET /api/patients/info': {
        code: 0,
        data: { name: '张三', id: '777888', jq: 1, age: 30, sex: 'man', birth: '1994-07-07', marriage: '', nation: '河北省保定市', address: '河北软件职业技术学院' },
        message: 'success',
        success: true,
    },
    'POST /api/patients/add': {
        code: 0,
        data: true,
        success: true
    },
    'POST /api/patients/delete': {
        code: 0,
        data: true,
        success: true
    },
    'POST /api/patients/import': {
        code: 0,
        data: true,
        success: true
    },
    'POST /api/patients/edit': {
        code: 0,
        data: true,
        success: true
    },
    'GET /api/patients/search': {
        "success": true,
        "code": 200,
        "message": "common.success.message",
        "dataList": [
            { "id": 4, "createTime": "2024-03-22", "updateTime": "2024-03-22", "name": "name1", "jq": "1", "age": 23, "sex": "男", "marriage": "已婚", "nation": "汉族", "address": "河北", "birthday": "2024-03-04T16:00:00.000+00:00", "state": 1, "patientnumber": "25" },
            { "id": 63, "createTime": "2024-03-26", "updateTime": "2024-03-26", "name": "李四", "jq": "1", "sex": "男", "marriage": "已婚", "nation": "汉", "birthday": "2024-03-25T16:00:00.000+00:00", "state": 1, "patientnumber": "LS111" }
        ]
    }
}